package Day02;
import java.util.Scanner;
public class ScanerDemo {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入年龄:");
        int age = scan.nextInt();
        System.out.println("请输入商品价格:");
        double price =scan.nextDouble();

        System.out.println("输入的年龄"+age+"\n输入的价格"+price);
    }
}
